const file = '舆情来源分析';
const fontSize = 32;
const option = {
  xAxis: {
    type: 'category',
    data: ['110警情', '华龙问政网', '抖音', '微博', '人民网领导留言板', '小红书'],
    axisLabel: {
      interval: 0,
      fontSize: fontSize
    }
  },
  backgroundColor: '#fff',
  yAxis: {
    type: 'value',
    axisLabel: {
      fontSize: fontSize
    }
  },
  grid: {
    left: '4%',
    right: '4%'
  },
  series: [
    {
      data: [32, 5, 4, 2, 2],
      type: 'bar',
      showBackground: true,
      backgroundStyle: {
        color: 'rgba(180, 180, 180, 0.2)'
      },
      itemStyle: {
        color: '#91cc75',
        borderRadius: [10, 10, 0, 0]
      },
      barWidth: 60,
      label: {
        show: true,
        position: 'outside',
        fontSize: fontSize,
        color: '#333'
      },
    }
  ]
};